// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import App from './App'
import store from './store'
import Vant, {
  ActionSheet,
  AddressEdit,
  Area,
  Checkbox,
  CheckboxGroup,
  Col,
  DropdownItem,
  DropdownMenu,
  Icon,
  Image,
  Lazyload,
  Popup,
  Radio,
  RadioGroup,
  Row,
  Search,
  Skeleton,
  Stepper,
  SwipeCell,
  Tab,
  Tabs,
  Toast
} from 'vant';

import './mock/video'


import 'vant/lib/index.css';
import './assets/font_1249036_dlehrier0e/iconfont.css';
import './assets/font_1249036_dlehrier0e/iconfont.ttf';
import qs from 'Qs'
import 'swiper/dist/css/swiper.min.css';

import VueAwesomeSwiper from 'vue-awesome-swiper';
import './mock/prolist'
import './mock/detail'
import Share from 'vue-social-share'
import 'vue-social-share/dist/client.css';

Vue.use(qs)
Vue.use(VueAwesomeSwiper);
Vue.use(Icon);
Vue.use(Lazyload);
import { Row, Col } from 'vant';
import { Search } from 'vant';
import { Skeleton } from 'vant';
import { RadioGroup, Radio } from 'vant';

Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Skeleton);
Vue.use(Search);
Vue.use(Row).use(Col);
Vue.use(Icon);
Vue.use(Tab).use(Tabs);
Vue.use(Vant);
import { Popup } from 'vant';
Vue.use(Popup);
Vue.use(AddressEdit);
Vue.use(Area);
Vue.config.productionTip = false
Vue.use(ActionSheet);
Vue.use(Checkbox).use(CheckboxGroup);
Vue.use(Stepper);
Vue.use(DropdownMenu).use(DropdownItem);
Vue.use(Image);
Vue.use(SwipeCell);
Vue.use(Toast);

Vue.use(Share)

import VideoPlayer from 'vue-video-player'

require('video.js/dist/video-js.css')

require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
